package cn.edu.djtu.fw.service;

import java.util.Map;

import cn.edu.djtu.fw.model.User;

public interface UserServiceI {
	boolean delete(Integer uid);

	boolean insert(User user);

	boolean insertSelective(User user);

	User getUserById(Integer uid);

	boolean updateSelective(User user);

	boolean update(User user);

	User login(User user);

	Map<String, Object> getAllUser(int page, int rows, User user);

}
